package com.zhiqiang.nativeplayer.controller;

import com.zhiqiang.nativeplayer.bean.VideoPlayerBoxRetBean;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * author：paul
 * date：Created in 16:17 2022/11/21
 */
@RestController
public class VideoPlayerBox {

    @CrossOrigin
    @GetMapping("/videoPlay")
    public VideoPlayerBoxRetBean responseVideoDetail(){
        VideoPlayerBoxRetBean vpbrt = new VideoPlayerBoxRetBean();
        vpbrt.setVideoName("vid1");
        System.out.println("/videoPlay");
        return vpbrt;
    }

}
